package models.core.user;

import java.io.Serializable;
import java.util.Date;

import models.BeanDtoImpl;

/**
 * Log entity
 */

public class UserLogDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = -2036119175439571345L;
	private UserDtoInfo user;
	private Date date;
	private String log;
	private UserLogActionDto action;

	public UserLogDto() {
	}

	public UserLogDto(Integer id, UserDtoInfo user, Date date, String log) {
		super();
		this.id = id;
		this.user = user;
		this.date = date;
		this.log = log;
	}

	public UserDtoInfo getUser() {
		return user;
	}

	public void setUser(UserDtoInfo user) {
		this.user = user;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getLog() {
		return log;
	}

	public void setLog(String log) {
		this.log = log;
	}

	public UserLogActionDto getAction() {
		return action;
	}

	public void setAction(UserLogActionDto action) {
		this.action = action;
	}

}
